﻿<%@ Page Title="" Language="C#" MasterPageFile="~/System/MasterPage_Base.master" AutoEventWireup="true"
    CodeFile="WebContentModify.aspx.cs" Inherits="System_Page_WebContentModify"
    ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">

    <script src="../Resources/Kindeditor/kindeditor.js" type="text/javascript"></script>

    <script src="../Resources/Kindeditor/lang/zh_CN.js" type="text/javascript"></script>

    <script type="text/javascript">
        KindEditor.ready(function (K) {
            K.create('#<%=Editor.ClientID%>', {
                uploadJson: '../Resources/Kindeditor/App/upload_json.ashx',
                fileManagerJson: '../Resources/Kindeditor/App/file_manager_json.ashx',
                allowFileManager: true
            });
        });
    </script>

    <style type="text/css">
        .td1 {
            border: solid 1px #333333;
            background-color: #CCCCCC;
            font-size: 16px;
            font-weight: bold;
            line-height: 30px;
        }

        .td2 {
            border: solid 1px #333333;
        }

        .treeBox {
            width: 220px;
            height: 440px;
            float: left;
            border: solid 1px #666;
            margin-right: 5px;
            background: #eee;
            overflow: auto;
            padding: 5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    <asp:Label ID="lab_PageName" runat="server"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <table>
        <tr>
            <td style="vertical-align:top;">
                <div class="treeBox">
                    <asp:TreeView ID="tv_WebNav" runat="server" SelectedNodeStyle-ForeColor="Red" SelectedNodeStyle-Font-Bold="true"
                        NodeStyle-ForeColor="#333333">
                    </asp:TreeView>
                </div>
            </td>
            <td style="vertical-align: top;">
                <table border="0" style="border-collapse: collapse; width: 800px;">
                    <tr>
                        <td class="td1">
                            <asp:Literal ID="lab_Title" runat="server"></asp:Literal>
                        </td>
                    </tr>
                    <tr>
                        <td class="td2">
                            <asp:TextBox ID="Editor" runat="server" TextMode="MultiLine" Width="800" Height="400"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right; padding-right: 10px; padding-top: 20px;">
                            <asp:Button ID="btn_Submit" runat="server" Text="提交" CssClass="Button" ValidationGroup="Check"
                                OnClick="btn_Submit_Click" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

</asp:Content>
